package com.atguigu08.constructor.exer1;

/**
 * ClassName: studentTest
 * Description:
 *
 * @Author liu
 * @Create 2024/8/27 14:54
 * @Version 1.0
 */

public class studentTest {
    public static void main(String[] args) {
        Student p1 = new Student("liu",23);
        p1.getInfo();
        Student p2 = new Student("liu",23,"guangmingzhongxue");
        p2.getInfo();
        Student p3 = new Student("liu",23,"jaljdflkasj","math");
        p3.getInfo();
    }
}
